package com.iotechn.unimall.mydata.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.iotechn.unimall.mydata.domain.Super;
import lombok.Data;

@Data
public class IUser extends Super {

    private String email;

    private String password;

    private String name;

    private String nickname;

    /*
        学生or教师
        0代表学生 1代表教师
     */
    @TableField("login_type")
    private Integer loginType;

    private String phone;

    /**
     * 登录成功，包装此参数
     */
    private String accessToken;
}
